package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dto.ArticleHomeDto;
import com.heima.model.article.pojo.ApArticle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2023/1/9 17:02
 */
public interface ArticleHomeMapper extends BaseMapper<ApArticle> {
    /**
     * @description 首页详情
     * @param dto
     * @return java.util.List<com.heima.model.com.heima.feign.article.pojo.ApArticle>
     * @author 31115
     * @date 2023/1/9 17:24
     */
    List<ApArticle> loadArticleList(@Param("dto") ArticleHomeDto dto);

}
